namespace ChumChase
{
    using System.Windows;

    public partial class Shell : Window
    {
        public Shell()
        {
            InitializeComponent();
        }

        //private void Window_Loaded(object sender, RoutedEventArgs args)
        //{
        //var settings = UserSettings.LoadFrom(new LocalStorage());

        //var client = new ClientAdapter();
        //client.SetCredentials(settings.Nickname, settings.RemoteKey);

        //var processor = new ModelProcessor();
        //_presenter = new ApplicationModel(client, processor, settings, HandleViewRequest);
        //Closed += (s, e) => _presenter.Shutdown();

        //DataContext = _presenter;

        //_presenter.RefreshHomeFeed();

        // I need to finish reading Josh Smith's article on testing classes with DispatchTimer
        // http://www.codeproject.com/KB/WPF/UnitTestDispatcherTimer.aspx
        //var scheduler = new Scheduler(controller);
        //scheduler.Start();
        //}
    }
}